<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:stylesheet [
  <!ENTITY copy "&#169;">
  <!ENTITY nbsp "&#160;">
  <!ENTITY laquo "&#171;">
  <!ENTITY raquo "&#187;">
]>
<xsl:stylesheet xmlns="http://www.w3.org/1999/xhtml"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version="1.0">

  <xsl:output encoding="UTF-8"
              method="xml"
              omit-xml-declaration="yes"
              indent="no"
              doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
              doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>

  <xsl:variable name="Root" select="/page/settings/url" />
  <xsl:variable name="Files" select="/page/settings/files_url" />
  <xsl:variable name="Images" select="/page/settings/images_url" />
  <xsl:variable name="Settings" select="/page/settings" />
  <xsl:variable name="Controller" select="/page/settings/controller" />
  <xsl:variable name="Action" select="/page/settings/action" />
  <xsl:variable name="This" select="/page/settings/this" />
  <xsl:variable name="This_without_lang" select="/page/settings/this_without_lang" />
  <xsl:variable name="Main" select="/page/content/Main" />
  <xsl:variable name="User" select="/page/content/auth-info" />
  <xsl:variable name="Content" select="/page/content" />
  <xsl:variable name="Cats" select="/page/content/Cats" />
  <xsl:variable name="Cat" select="/page/content/@cat" />
  <xsl:variable name="Form" select="/page/content/Main/form" />
  <xsl:variable name="Static" select="/page/content/static" />
  <xsl:variable name="Date" select="/page/content/current-date" />
  <xsl:variable name="Lang" select="/page/settings/lang" />
  <xsl:variable name="Int" select="/page/content/interface" />
  <xsl:variable name="Cart" select="/page/content/cart" />

  <xsl:template match="/">
    <xsl:apply-templates />
  </xsl:template>

  <xsl:template match="page">
    <html>
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <xsl:choose>
          <xsl:when test="$Content/ceo_title = ''">
            <title>
              <xsl:value-of select="$Settings/title"/>
            </title>
          </xsl:when>
          <xsl:otherwise>
            <title>
              <xsl:value-of select="$Content/ceo_title"/>
            </title>
          </xsl:otherwise>
        </xsl:choose>

        <meta name="description" content="{$Content/ceo_desc}"/>
        <meta name="keywords" content="{$Content/ceo_keywords}"/>

        <link href="/css/default.css" rel="stylesheet" type="text/css" />

        <script type="text/javascript" src="/js/jq.js">/**/</script>
        <script type="text/javascript" src="/js/system.js">/**/</script>
        <script type="text/javascript" src="/js/general.js">/**/</script>

      </head>

      <body>
        <div id="page">
          <div class="header">
            <div class="header-navigation">
              <div class="header-navigation-buttons">
                <label>
                  <a href="#" class="g-hover navigation-links">
                    Війти до системи
                  </a>
                </label>
                |
                <label style="padding-left:2px">

                  <a href="#" class="g-hover navigation-links">
                    <img title="Карта сайта" alt="Карта сайта" class="image-sitemap" src="/images/spacer.gif"/>
                  </a>

                </label>



                <label style="padding-left:2px">

                  <a href="#" class="g-hover navigation-links">
                    <img title="Контакты" alt="Контакты" class="image-contact" src="/images/spacer.gif"/>
                  </a>

                </label>
              </div>


              <div class="search-form">

                <form action="#" method="post" name="searchFromThemeForm">

                  <input type="text" onfocus="if(this.value=='Пошук') this.value='';" id="search_string" name="search_string" value="Пошук" class="g-search-input-text search-input"/>
                  <input type="submit" value="" id="search-button" class="search-button"/>



                </form>
              </div>


            </div>
            <div class="header-title">

              <a href="#">
                <img alt="Державне підприємство Центр Державного Земельного Кадастру" class="image-flag" src="/images/spacer.gif"/>
              </a>

              <div class="header-title-text">
               <!--
                <p class="g-grey-text">
                  <a href="http://www.kmu.gov.ua" class="header-link">Урядковий портал</a> | <a href="http://www.me.gov.ua/" class="header-link">Міністерство економічного розвитку і торгівлі України</a>
                </p>
-->
                <p class="red-title">
                  Державне підприємство <br/>Центр Державного Земельного Кадастру
                </p>

               
              </div>

            </div>
          </div>

          <div class="top-menu">
            <ul class="top-menu-list">
              <xsl:for-each select="$Cats/row[is_show = 1 and id_menu = 1]">
                <li class="top-submenu">
                  <xsl:if test="id = 62">
                    <xsl:attribute name="class">
                      top-menu-item-first top-submenu
                    </xsl:attribute>
                  </xsl:if>
                  <a href="{url}">
                    <xsl:value-of select="menu_name"/>
                  </a>
                </li>
              </xsl:for-each>

            </ul>


            <div class="top-menu-navigation">

              <a class="g-hover" href="#">
                <img class="image-home" src="/images/spacer.gif"/>
              </a>
              <ul class="top-menu-navigation-list">
                <xsl:call-template name="Path"/>
              </ul>
            </div>
          </div>






          <div class="content">
            <div class="right-block">

              <div class="portlet-block">


                <table width="100%" cellspacing="0" cellpadding="10">
                  <tbody>
                    <tr>
                      <td>
                        <div class="portlet-contact">
                          <div class="portlet-rtitle" style="height: 19px;">Зворотній зв'язок</div>
                          <div class="portlet-contact-main-phone">
                            <div style="width: 140px;font-family:Arial,serif;">Телефон технічної підтримки</div>
                            <p style="width: 150px;margin-top: 5px;">044 454 02 73</p>  
                            </div>

                          <div class="portlet-inform" style="height: 25px;padding: 10px 10px 0px 10px;margin-top: 10px">
                            <div class="icon-block">
                              <div class="image-contact-icon" style="font-size: 1em;width: 150px;padding-left: 23px;">
                                <a target="_blank" class="g-hover" href="mailto:support@dzk.gov.ua">Напишіть нам</a>
                              </div>
                            </div>
                          </div>
                        </div>


                        <!--</div>-->

                        <!--</div>-->
                      </td>
                    </tr>
                  </tbody>
                </table>



              </div>



              <div id="mouseoverTable_7_015A1H40IOE5A0ITA31POG38K1" class="portlet-block">








                <!--  Manifest information
War-Name: ru.fccland.pgu.uberwar
War-Version: 0.48.0-SNAPSHOT
Build-Number: 35671
-->



                <script language="JavaScript">
                  function addJavascript(jsname, pos) {
                  var th = document.getElementsByTagName(pos)[0];
                  var s = document.createElement('script');
                  s.setAttribute('type', 'text/javascript');
                  s.setAttribute('src', jsname);
                  th.appendChild(s);
                  }

                  if (typeof(jsIncluded) == 'undefined') jsIncluded = false;
                  if (!jsIncluded){
                  jsIncluded=true;

                  addJavascript("/wps/PA_FCCLPGUMWPSPtalApp/js/common.js", "head");
                  addJavascript("/wps/PA_FCCLPGUMWPSPtalApp/js/cookies.js", "head");
                  addJavascript("/wps/PA_FCCLPGUMWPSPtalApp/js/admin.js", "head");
                  }


                </script>






                <table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">

                </table>



              </div>


              <div class="row-space">&nbsp;</div>








            </div>

            <div class="content-center">

              <div class="portlet-side-menu">

                <div id="mouseoverTable_7_KHKHJ9S347JHF0I5O1E9222001" class="portlet-block">







                  <style>
                    .portlet-side-menu-block ul {
                    margin:0;
                    }
                  </style>
                  <div class="portlet-round-border top-margin">
                    <div class="portlet-side-menu-block">
                      <span class="title-bg">
                        <p class="navigation-title">Головне меню</p>
                      </span>
                      <ul class="portlet-side-menu-list">
                        <xsl:for-each select="$Cats/row[is_show = 1 and id_menu = 2]">
                          <li>
                            <xsl:if test="id = 967">
                              <xsl:attribute name="class">first</xsl:attribute>
                            </xsl:if>
                            <a href="{url}">
                              <span>
                                <xsl:value-of select="menu_name"/>
                              </span>
                            </a>
                          </li>
                        </xsl:for-each>
                      </ul>
                    </div>
                  </div>
                </div>
              </div>
              <div class="content-middle">
                <div id="mouseoverTable_7_KHKHJ9S34NG900I52JA8O620G6" class="portlet-block">


                  <div class="portlet-motherland-map">
                    <div class="motherland-map-image">
                      <span id="region-list">
                        <a class="region" title="Адыгея" id="adigeya" href="javascript://"></a>
                        <a class="region" title="Алтай" id="altai" href="javascript://"></a>
                        <a class="region" title="Алтайский край" id="altaiskii-krai" href="javascript://"></a>
                        <a class="region" title="Амурская область" id="amurskaya-obl" href="javascript://"></a>
                        <a class="region" title="Архангельская область" id="arhangelskaya-obl" href="javascript://"></a>
                        <a class="region" title="Астраханская область" id="astahanskaya-obl" href="javascript://"></a>
                        <a class="region" title="Башкортостан" id="bashkortostan" href="javascript://"></a>
                        <a class="region" title="Белгородская область" id="belgorodskaya-obl" href="javascript://"></a>
                        <a class="region" title="Брянская область" id="bryanskaya-obl" href="javascript://"></a>
                        <a class="region" title="Бурятия" id="buryatskii-ao" href="javascript://" style="z-index: 200;"></a>
                        <a class="region" title="Владимирская область" id="vladimirskaya-obl" href="javascript://"></a>
                        <a class="region" title="Волгоградская область" id="volgogradskaya-obl" href="javascript://"></a>
                        <a class="region" title="Вологодская область" id="vologodskaya-obl" href="javascript://"></a>
                        <a class="region" title="Воронежская область" id="voronejskaya-obl" href="javascript://"></a>
                        <a class="region" title="Дагестан" id="dagestan" href="javascript://"></a>
                        <a class="region" title="Еврейская а.о." id="evreiskaya-ao" href="javascript://"></a>
                        <a class="region" title="Забайкальски край" id="zabaikalskii-krai" href="javascript://"></a>
                        <a class="region" title="Ивановская область" id="ivanovskaya-obl" href="javascript://"></a>
                        <a class="region" title="Ингушетия" id="ingusheniya" href="javascript://"></a>
                        <a class="region" title="Иркутская область" id="irkutskaya-obl" href="javascript://" style="z-index: 150;"></a>
                        <a class="region" title="Кабардино-Балкария" id="kabardino-balkariya" href="javascript://"></a>
                        <a class="region" title="Калининградская область" id="kaliningradskaya-obl" href="javascript://"></a>
                        <a class="region" title="Калмыкия" id="kalmikiya" href="javascript://"></a>
                        <a class="region" title="Калужская область" id="kalujskaya-obl" href="javascript://"></a>
                        <a class="region" title="Камчатский край" id="kamchatskii-krai" href="javascript://"></a>
                        <a class="region" title="Карачаево-Черкесия" id="karachaevo-cherkessiya" href="javascript://"></a>
                        <a class="region" title="Карелия" id="kareliya" href="javascript://"></a>
                        <a class="region" title="Кемеровская область" id="kemerovskaya-obl" href="javascript://"></a>
                        <a class="region" title="Кировская область" id="kirovskaya-obl" href="javascript://"></a>
                        <a class="region" title="Коми" id="komi" href="javascript://"></a>
                        <a class="region" title="Костромская область" id="kostromskaya-obl" href="javascript://"></a>
                        <a class="region" title="Краснодарский край" id="krasnodarskii-krai" href="javascript://"></a>
                        <a class="region" title="Красноярский край" id="krasnoyarskii-krai" href="javascript://"></a>
                        <a class="region" title="Курганская область" id="kurganskaya-obl" href="javascript://"></a>
                        <a class="region" title="Курская область" id="kurskaya-obl" href="javascript://"></a>
                        <a class="region" title="Ленинградская область" id="leningradskaya-obl" href="javascript://"></a>
                        <a class="region" title="Липецкая область" id="lipeckaya-obl" href="javascript://"></a>
                        <a class="region" title="Магаданская область" id="magadanskaya-obl" href="javascript://"></a>
                        <a class="region" title="Марий-Эл" id="marii-el" href="javascript://"></a>
                        <a class="region" title="Мордовия" id="mordoviya" href="javascript://"></a>
                        <a class="region" title="Москва" id="moskva" href="javascript://"></a>
                        <a class="region" title="Московская область" id="moskovskaya-obl" href="javascript://"></a>
                        <a class="region" title="Мурманская область" id="murmanskaya-obl" href="javascript://"></a>
                        <a class="region" title="Ненецкий а.о." id="neneckii-ao" href="javascript://"></a>
                        <a class="region" title="Нижегородская область" id="nijegorodskaya-obl" href="javascript://"></a>
                        <a class="region" title="Новгородская область" id="novgorodskaya-obl" href="javascript://"></a>
                        <a class="region" title="Новосибирская область" id="novosibirskaya-obl" href="javascript://"></a>
                        <a class="region" title="Омская область" id="omskaya-obl" href="javascript://"></a>
                        <a class="region" title="Оренбургская область" id="oreburgskaya-obl" href="javascript://"></a>
                        <a class="region" title="Орловская область" id="orlovskaya-obl" href="javascript://"></a>
                        <a class="region" title="Пензенская область" id="penzenskaya-obl" href="javascript://"></a>
                        <a class="region" title="Пермский край" id="permskii-krai" href="javascript://"></a>
                        <a class="region" title="Приморский край" id="primorskii-krai" href="javascript://"></a>
                        <a class="region" title="Псковская область" id="pskovskaya-obl" href="javascript://"></a>
                        <a class="region" title="Ростовская область" id="rostovskaya-obl" href="javascript://"></a>
                        <a class="region" title="Рязанская область" id="ryazanskaya-obl" href="javascript://"></a>
                        <a class="region" title="Самарская область" id="samarskaya-obl" href="javascript://"></a>
                        <a class="region" title="Санкт-Петербург" id="sankt-pererburg" href="javascript://"></a>
                        <a class="region" title="Саратовская область" id="saratovskaya-obl" href="javascript://"></a>
                        <a class="region" title="Саха(Якутия)" id="saha-yakutiya" href="javascript://"></a>
                        <a class="region" title="Сахалинская область" id="sahalinskaya-obl" href="javascript://"></a>
                        <a class="region" title="Свердловская область" id="sverdlovskaya-obl" href="javascript://"></a>
                        <a class="region" title="Северная Осетия - Алания" id="sev-osetiya-alaniya" href="javascript://"></a>
                        <a class="region" title="Смоленская область" id="smolenskaya-obl" href="javascript://"></a>
                        <a class="region" title="Ставропольский край" id="stavropolskii-krai" href="javascript://"></a>
                        <a class="region" title="Тамбовская область" id="tambovskaya-obl" href="javascript://"></a>
                        <a class="region" title="Татарстан" id="tatarstan" href="javascript://"></a>
                        <a class="region" title="Тверская область" id="tverskaya-obl" href="javascript://"></a>
                        <a class="region" title="Томская область" id="tomskaya-obl" href="javascript://"></a>
                        <a class="region" title="Тульская область" id="tulskaya-obl" href="javascript://"></a>
                        <a class="region" title="Тыва" id="tiva" href="javascript://"></a>
                        <a class="region" title="Тюменская область" id="tyumenskaya-obl" href="javascript://"></a>
                        <a class="region" title="Удмуртия" id="udmurtiya" href="javascript://"></a>
                        <a class="region" title="Ульяновская область" id="ulyanovskaya-obl" href="javascript://"></a>
                        <a class="region" title="Хабаровский край" id="habarovskii-krai" href="javascript://"></a>
                        <a class="region" title="Хакасия" id="hakassiya" href="javascript://"></a>
                        <a class="region" title="Ханты-Мансийский А.О." id="hantimansiiskii-ao" href="javascript://" style="z-index: 150;"></a>
                        <a class="region" title="Челябинская область" id="chelyabinskaya-obl" href="javascript://"></a>
                        <a class="region" title="Чеченская Республика" id="chechnya" href="javascript://"></a>
                        <a class="region" title="Чувашия" id="chuvashiya" href="javascript://"></a>
                        <a class="region" title="Чукотский автономный округ" id="chukotskii-ao" href="javascript://"></a>
                        <a class="region" title="Ямало-Ненецкий а.о." id="yamalo-neneckii-ao" href="javascript://" style="z-index: 200;"></a>
                        <a class="region" title="Ярославская область" id="yaroslavskaya-obl" href="javascript://"></a>
                      </span>
                    
                    </div>
                    <div class="motherland-map-control">
                      <span>
                        <select id="select-text">
                          <option disabled="">Оберіть регіон</option>
                          <xsl:for-each select="$Main/reion-list/row">
                            <option id="adigeya-selector">
                              <xsl:value-of select="name"/>
                            </option>
                          </xsl:for-each>                          
                        </select>
                      </span>
                    </div>
                  </div>
                </div>
              </div>

            </div>
          </div>











          <div class="clearFloat"> </div>
        </div>
        <div class="white-bg">
          <div class="portlet-round-border bottom-footer">
            <div class="footer">
              <div class="footer-right">








                <div class="search-form">

                  <form action="/wps/portal/cc_search" method="post" name="searchFromThemeForm">

                    <input type="text" onfocus="if(this.value=='Пошук') this.value='';" id="search_string" name="search_string" value="Пошук" class="g-search-input-text search-input"/>
                    <input type="submit" value="" id="search-button" class="search-button"/>



                  </form>
                </div>


                <div class="header-navigation-buttons">
                  <label>
                    <img alt="Карта сайта" class="image-sitemap" src="/images/spacer.gif"/>

                    <a href="#" class="g-hover navigation-links">
                      Карта сайта
                    </a>

                  </label>
                  <label>
                    <img alt="Контакти" class="image-contact" src="/images/spacer.gif"/>

                    <a href="#" class="g-hover navigation-links">
                      Контакти
                    </a>

                  </label>
                </div>
              </div>
              <div class="footer-left">


                <div class="top-menu-navigation">

                  <a class="g-hover" href="#">
                    <img class="image-home" src="/images/spacer.gif"/>
                  </a>
                  <ul class="top-menu-navigation-list">

                  </ul>
                </div>

                <div class="footer-left-text">
                  &copy; 2012 Державне підприємство <br/>Центр Державного Земельного Кадастру
                </div>
              </div>
            </div>
          </div>
        </div>
      </body>
    </html>
  </xsl:template>


  <!-- Messages -->
  <xsl:template name="Messages">
    <xsl:if test="Main/form/@sent = 1">
      <div>
        <xsl:if test="Main/form/@error = 1">
          <xsl:attribute name="class">massage_no</xsl:attribute>
        </xsl:if>
        <xsl:if test="Main/form/@error = 0">
          <xsl:attribute name="class">massage_yes</xsl:attribute>
        </xsl:if>
        <xsl:value-of select="Main/form/@message" />
      </div>
    </xsl:if>
  </xsl:template>

  <!-- Path -->
  <xsl:template name="Path">
    <xsl:param name="last"/>

    <div class="path">
      <xsl:for-each select="$Content/Path/row">
        <xsl:if test="position() != last()">
          <a href="{url}">
            <xsl:value-of select="name"/>
          </a>
          <span>›</span>
        </xsl:if>
        <xsl:if test="position() = last() and $last = 1">
          <a href="{url}">
            <xsl:value-of select="name"/>
          </a>
          <span>›</span>
        </xsl:if>
      </xsl:for-each>
    </div>
  </xsl:template>

  <!-- Write.Date -->
  <xsl:template name="Write.Date">
    <xsl:param name="node"></xsl:param>

    <xsl:choose>
      <xsl:when test="$node/@day = $Date/@day and $node/@dmonth = $Date/@dmonth and $node/@year = $Date/@year">
        Сегодня
      </xsl:when>
      <xsl:when test="$node/@day = $Date/@day+1 and $node/@dmonth = $Date/@dmonth and $node/@year = $Date/@year">
        Вчера
      </xsl:when>
      <xsl:otherwise>
        <xsl:value-of select="$node/@day"/>
        <xsl:text>.</xsl:text>
        <xsl:value-of select="$node/@dmonth"/>
        <xsl:text>.</xsl:text>
        <xsl:value-of select="$node/@year"/>
      </xsl:otherwise>
    </xsl:choose>

  </xsl:template>

  <!-- Write.Date.Time -->
  <xsl:template name="Write.Date.Time">
    <xsl:param name="node"></xsl:param>
    <xsl:call-template name="Write.Date">
      <xsl:with-param name="node" select="$node"/>
    </xsl:call-template>
    <xsl:text> </xsl:text>
    <xsl:value-of select="$node/@hour"/>
    <xsl:text>:</xsl:text>
    <xsl:value-of select="$node/@minute"/>
  </xsl:template>



</xsl:stylesheet>